#include "Case.h"



Case::Case(short num, char abscisse, char ordonnee, char orient){
	    c.p.numero=num;
		c.p.estPose=false;
		c.place.x=abscisse;
		c.place.y=ordonnee;
		c.orientation = orient;
	}

Case::Case(){
	c.orientation= -1;
	c.p.numero = 0;
	c.p.haut= 0;
	c.p.bas= 0;
	c.p.gauche= 0;
	c.p.droit= 0;
	c.p.estPose=false;

	c.place.x= -1;
	c.place.y= -1;

	}


	short Case::getNumero(){return c.p.numero;}
	char Case::getX(){return c.place.x;}
	char Case::getY(){return c.place.y;}
	char Case::getOrientation(){return c.orientation;}

	void Case::setCoup(Coup co){c=co;}
	void Case::setCoord(Coord coor){c.place=coor;}
	void Case::setCoord(char x, char y){c.place.x=x; c.place.y=y;}


		Coord Case::geCoord(){return c.place;}
		Coup Case::getCoup(){return c;}

  void Case::poserPierre(Coup c){


  	}
